package com.ihr360.binlog.model;

/**
 * Created by davidwei on 17-7-7.
 */
public enum DataSyncState {
    IDLE(0,"空闲"),
    NO_SCHEMA_TABLE(0,"未指定数据库和表"),
    NO_DATA(0,"无数据"),
    PROCESSING(1,"处理中"),
    ERROR(500,"错误"),
    DONE(200,"结束");

    private int code;
    private String value;
    DataSyncState(int code, String value){
        this.code = code; this.value =value;
    }

    @Override
    public String toString() {
        return "DataSyncState{" +
                "code=" + code +
                ", value=" + value +
                '}';
    }
}
